package nba2kmodtool.filedesc.util3d;

/**DirectX Library Loader*/
class D3DXLibNative {
	static {
		System.loadLibrary("d3dxmath");
	}

	// Converts an array 16-bit floats to 32-bit floats
	protected static native float[] D3DXFloat16To32Array(short[] values);

	// Converts an array 32-bit floats to 16-bit floats
	protected static native short[] D3DXFloat32To16Array(float[] values);

	// Converts an array 16-bit float to 32-bit float
	public static native float D3DXFloat16To32(short values);

	// Converts an array 32-bit float to 16-bit float
	public static native short D3DXFloat32To16(float values);
}
